/*
  X扫描线算法绘制多边形：
  顶点描述多边形绘制
*/
#include "OpenGLCase7.h"

class Point {
private:
	int x;
	int y;
public:
	Point(int x, int y) {
		this->x = x;
		this->y = y;
	}
};

void drawShape(HDC hdc, Point points[]) {



}

void runCase7() {
	// 获取一个可供画图的DC，我这里就直接用桌面算了
	HDC hdc = GetWindowDC(GetDesktopWindow());

	Point points[] = {
		Point(100, 200),
		Point(100, 200),
		Point(100, 200),
		Point(100, 200)
	};

	drawShape(hdc, points);
}